import 'dart:convert';
/// leaderId : "000e382f-bad2-4b5e-adde-d401e7b8a2fb"
/// leaderName : "杨牧"
/// currentPosition : "内蒙古自治区赤峰市人民政府副市长"

HotPeople hotPeopleFromJson(String str) => HotPeople.fromJson(json.decode(str));
String hotPeopleToJson(HotPeople data) => json.encode(data.toJson());
class HotPeople {
  HotPeople({
      this.leaderId, 
      this.leaderName, 
      this.currentPosition,});

  HotPeople.fromJson(dynamic json) {
    leaderId = json['leaderId'];
    leaderName = json['leaderName'];
    currentPosition = json['currentPosition'];
  }
  String? leaderId;
  String? leaderName;
  String? currentPosition;
HotPeople copyWith({  String? leaderId,
  String? leaderName,
  String? currentPosition,
}) => HotPeople(  leaderId: leaderId ?? this.leaderId,
  leaderName: leaderName ?? this.leaderName,
  currentPosition: currentPosition ?? this.currentPosition,
);
  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['leaderId'] = leaderId;
    map['leaderName'] = leaderName;
    map['currentPosition'] = currentPosition;
    return map;
  }

}